package com.liuya.common.exception;

/**
 * 实体异常
 */
public class EntityExistException extends Exception {
    private Object entity;

    public EntityExistException(Object entity) {
        this.entity = entity;
    }

    public Object getEntity() {
        return entity;
    }
}
